﻿<!DOCTYPE html>
<html>
<head>
<title>教师信息 - {$org.org_platformname}</title>
<vt:include file="../inc/meta.inc" />
<!--<script type="text/javascript" src="Scripts/detail.js?ver={$version}"></script>-->
<link href="Styles/detail.css?ver={$version}" rel="stylesheet" type="text/css" />
</head>
<body>
<vt:include file="../inc/Header.html" />
<div id="Context">
  <div id="Navi"> <a href="/">首页</a> &gt; <a href="/teacher/list.ashx">教师</a> &gt; {$th.th_name} </div>
  <!--教师图片等主要信息 -->
  <div id="teacherTop">
    <div class="photo"> <img src="{$th.th_photo}"/> </div>
    <div class="details">
      <div class="infoFirst">
        <div class="name">{$:#.th.th_name}</div>
        <div class="title">{$:#.th.Ths_Name}</div>
      </div>
      <div class="sign">{$:#.th.th_signature}</div>
    </div>
  </div>
  <!--课程，履历等 -->
  <div class="teacherBox">
    <div class="teacherLeft">
    <div class="courseBox">
        <div class="courseTitle">
          <div class="title">简介</div>
        </div>
        <div class="intro">{$:#.th.th_intro}</div>
        </div>
      <vt:if var="history.length" value="0" compare=">">
        <!--履历 -->
        <dl id="history">
          <dt>
            <div class="title">教师履历</div>
          </dt>
          <vt:foreach id="history" from="$#.history" item="data" index="i" remark="教师履历">
            <dd>
              <div class="time">{$:#.data.Thh_StartTime format="yyyy.MM.d"} - {$:#.data.Thh_EndTime format="yyyy.MM.d"}</div>
              <div class="type">{$:#.data.Thh_Type}</div>
              <div class="theme">
                <vt:if var="data.Thh_Type" value="学习" compare="="> {$:#.data.Thh_School}
                  <vt:else />
                  {$:#.data.Thh_Compay} </vt:if>
              </div>
              <div class="post">
                <vt:if var="data.Thh_Type" value="学习" compare="="> {$:#.data.Thh_Major}
                  <vt:else />
                  {$:#.data.Thh_Post} </vt:if>
              </div>
            </dd>
          </vt:foreach>
        </dl>
      </vt:if>
      <!--当前老师的课程 -->
      <div class="courseBox">
        <div class="courseTitle">
          <div class="title">所讲课程</div>
        </div>
        <vt:if var="courses.length" value="0" compare="=">
          <div class="noCourse">暂时没有课程</div>
         <vt:else />
        <div class="courses">
          <div class="coursesInner">
            <vt:foreach from="$#.courses" item="c" index="i">
              <div class="courseItem"> <a href="/course.ashx?id={$:#.c.cou_id}"><img src="{$:#.c.cou_logosmall}"  default="../images/cou_nophoto.jpg"/> </a>
                <div class="courseName"> <a href="/course.ashx?id={$:#.c.cou_id}">{$:#.c.cou_name} </a></div>
              </div>
            </vt:foreach>
          </div>
        </div>
        </vt:if>
      </div>
    </div>
    <div class="teacherRight">
    <dl id="history">
      <dt>
        <div class="title">相关教师</div>
      </dt>
    </dl>
    <dl class="thlist">
      <vt:foreach id="teachers" from="$#.teachers" item="data" index="i" count="4" remark="教师信息列表">
       <vt:if var="data.th_id" value="$th.th_id" compare="!="> 
        <dd>  <div class="thImg" style="background-image: url({$:#.data.th_photo})" href="/teacher/Detail.ashx?id={$:#.data.th_id}">&nbsp;</div>
          <div class="thRight">
          <div class="thTop">
              <div class="thName"><a href="/teacher/Detail.ashx?id={$:#.data.th_id}">{$:#.data.th_name}</a></div>
              <div class="thTitle">{$:#.data.ths_name}</div>
            </div>
            <div class="signature">{$:#.data.th_signature}</div>
          </div>
      
        </dd>
         </vt:if>
      </vt:foreach>
    </dl>
  </div>
</div>
</div>
<vt:include file="../inc/footer.html" />
</body>
</html>
